package c.c.b.b.d;

import c.c.b.b.d.k.a;
import c.c.b.b.d.k.c;
import c.c.b.b.d.k.d;

/* compiled from: ImageLoader */
public class j implements Runnable {
    public final /* synthetic */ String a;
    public final /* synthetic */ k b;

    public j(k kVar, String str) {
        this.b = kVar;
        this.a = str;
    }

    public void run() {
        a aVar = (a) this.b.f.get(this.a);
        if (aVar != null) {
            for (c cVar : aVar.d) {
                d dVar = cVar.b;
                if (dVar != null) {
                    if (aVar.c == null) {
                        cVar.a = aVar.b;
                        dVar.a(cVar, false);
                    } else {
                        dVar.b(aVar.a);
                    }
                    cVar.b.b();
                }
            }
        }
        this.b.f.remove(this.a);
    }
}
